"""
26.08.2022
14 - dars
"""

year = 2000
while year <= 2022:
    print(year)
    year += 1

# [] ro'yxat
# () kortej
# {} lug'at

# royxat []qavsing ichiga yozilganlaz
l = [1, 2, 3, 'hello', ['test', 10], 'world', True]

# royxatga aylantirishni kodi 
# stringni royxatga aylantirayabdi
l2 = list('hello')

# royxatga aylantirmoqda
# int va kortejni royxatga aylntirayabdi
l3 = list((1, 2, 3))

#royxatni ichiga davrni kiritayabdi
l4 = [i for i in 'hello']

# royxatni ichidagi davrga shart qoshish
l5 = [i for i in 'hello world' if i != ' ' and i != 'e']
l5 = [i for i in 'hello world' if i not in ['a', 'e', 'i', 'o', 'u', ' ']]

# printni chop etish sep='\n' 
print(l, l2, l3, l4, l5, sep='\n')

#renge yugurtirish
l6 = list(range(0, 11))
print(l6)

for i in range(1, 3):
    print(f'tashqi aylanish #{i}')
    for j in range(1, 3):
        print(f'\tichki aylanish #{j}')
